correction de l'état par défaut du tchat.
This commit is contained in:
parent
6c0713e6f9
commit
6c15f30c1a
2 changed files with 10 additions and 6 deletions
|
@ -38,7 +38,7 @@ Transition:
|
|||
m_TransitionDuration: .576923072
|
||||
m_TransitionOffset: 0
|
||||
m_Conditions:
|
||||
- m_ConditionMode: 2
|
||||
- m_ConditionMode: 1
|
||||
m_ConditionEvent: etat_tchat
|
||||
m_EventTreshold: 0
|
||||
m_ExitTime: .423076928
|
||||
|
@ -58,7 +58,7 @@ Transition:
|
|||
m_TransitionDuration: .576923072
|
||||
m_TransitionOffset: 0
|
||||
m_Conditions:
|
||||
- m_ConditionMode: 1
|
||||
- m_ConditionMode: 2
|
||||
m_ConditionEvent: etat_tchat
|
||||
m_EventTreshold: 0
|
||||
m_ExitTime: .423076928
|
||||
|
@ -110,14 +110,14 @@ StateMachine:
|
|||
m_ChildStateMachine: []
|
||||
m_ChildStateMachinePosition: []
|
||||
m_OrderedTransitions:
|
||||
data:
|
||||
first: {fileID: 110299434}
|
||||
second:
|
||||
- {fileID: 110133210}
|
||||
data:
|
||||
first: {fileID: 110200000}
|
||||
second:
|
||||
- {fileID: 110100000}
|
||||
data:
|
||||
first: {fileID: 110299434}
|
||||
second:
|
||||
- {fileID: 110133210}
|
||||
m_MotionSetCount: 1
|
||||
m_AnyStatePosition: {x: -168, y: -12, z: 0}
|
||||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||
|
|
|
@ -7,9 +7,13 @@ public class tchat_anim : MonoBehaviour {
|
|||
public Animator anim;
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
}
|
||||
|
||||
|
||||
void Awake(){
|
||||
anim = gameObject.GetComponent<Animator> ();
|
||||
anim.SetBool ("etat_tchat",false);
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
|
|
Loading…
Add table
Reference in a new issue