Ejemplo n.º 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;
            }
        }
Ejemplo n.º 2
0
 private void Awake()
 {
     sequenceActions = transform.parent.GetComponent <SequenceActions>();
 }