Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OCSR
ChAOS
Commits
04b032b0
Commit
04b032b0
authored
Oct 19, 2018
by
BRUNEAU Julien
Browse files
+ Fix example follow
+ Add License to Menu.cs
parent
d57f23d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Assets/Scripts/Menu/MenuManager.cs
View file @
04b032b0
using
System.Collections
;
/* Crowd Simulator Engine
** Copyright (C) 2018 - Inria Rennes - Rainbow - Julien Pettre
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License
** as published by the Free Software Foundation; either version 2
** of the License, or (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**
** Authors: Julien Bruneau
**
** Contact: crowd_group@inria.fr
*/
using
System.Collections
;
using
System.Collections.Generic
;
using
System.IO
;
using
UnityEditor
;
...
...
Scenarios/ExampleFollow.xml
View file @
04b032b0
<?xml version="1.0" encoding="utf-8"?>
<ConfigData
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
>
<env_filesPath>
.\Scenarios\Example
LookAt
\
</env_filesPath>
<env_filesPath>
.\Scenarios\Example
Follow
\
</env_filesPath>
<cam>
<position
x=
"-28"
y=
"-
7
"
z=
"5"
/>
<rotation
x=
"30.00000
38
"
y=
"0"
z=
"90"
/>
<position
x=
"-28"
y=
"-
2
"
z=
"5"
/>
<rotation
x=
"30.00000
76
"
y=
"0"
z=
"90"
/>
<lookAtAgent
agentID=
"-1"
/>
<followAgent
agentID=
"0"
followOnX=
"true"
followOnY=
"false"
/>
</cam>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment