Example #1
0
 /// <summary>
 /// The Unity Awake method.
 /// </summary>
 public void Awake()
 {
     if (AnimationBool == true)
     {
         Blend  = gameObject.GetComponent <PerspectiveBlendLine>();
         m_Anim = BlendGO.GetComponent <Animation>();
         m_Anim.Play("CINEMA_4D_Main");
         m_Anim["CINEMA_4D_Main"].speed = 0f;
     }
 }
 /// <summary>
 /// The Unity Awake method.
 /// </summary>
 private void Awake()
 {
     Instance = this;
     m_Blend  = this.gameObject.GetComponent <PerspectiveBlendLine>();
     StartCoroutine(FadeOn(3f));
 }