Beispiel #1
0
        // Use this for initialization
        public void Awake()
        {
            sequenceActions = FindObjectOfType <SequenceActions>();
            Transform _pm = transform.Find("PointMove");

            if (_pm != null)
            {
                pointMove = transform.Find("PointMove").transform;
            }
        }
Beispiel #2
0
 private void Awake()
 {
     sequenceActions = transform.parent.GetComponent <SequenceActions>();
 }