// Use this for initialization public void Awake() { sequenceActions = FindObjectOfType <SequenceActions>(); Transform _pm = transform.Find("PointMove"); if (_pm != null) { pointMove = transform.Find("PointMove").transform; } }
private void Awake() { sequenceActions = transform.parent.GetComponent <SequenceActions>(); }