// Use this for initialization void Start () { SM = GameObject.Find("StageManager").GetComponent<StageManager>(); player = GameObject.Find("PlayerManager").GetComponent<PlayerManager>(); p_position = GameObject.FindWithTag("player"); SM.SetforcedMatrix(1, 1.0f); StartCoroutine(Act()); }
// Use this for initialization void Start () { SM = GameObject.Find("StageManager").GetComponent<StageManager>(); player = GameObject.Find("PlayerManager").GetComponent<PlayerManager>(); p_position = GameObject.FindWithTag("player"); effect = (GameObject)Instantiate(ResourceLoad.PickGameObject("eskill_10")); effect.transform.position = new Vector3(p_position.transform.position.x, p_position.transform.position.y + 350, 0); SM.SetforcedMatrix(1, 1.0f); StartCoroutine(Act()); }
// Use this for initialization void Start () { SM = GameObject.Find("StageManager").GetComponent<StageManager>(); player = GameObject.Find("PlayerManager").GetComponent<PlayerManager>(); p_position = GameObject.FindWithTag("player"); effect = (GameObject)Instantiate(ResourceLoad.PickGameObject("eskill_6")); effect.transform.position = p_position.transform.position; SM.SetforcedMatrix(1, 3.0f); StartCoroutine(Act()); // op.x = -60.0f; }
// Use this for initialization void Start () { SM = GameObject.Find("StageManager").GetComponent<StageManager>(); effect = (GameObject)Instantiate(ResourceLoad.PickGameObject("eskill_8")); if (effect == null) { return; } effect.transform.position = new Vector3(GameObject.FindWithTag("player").transform.position.x, -800, 0); SM.SetforcedMatrix(1, 1.5f); StartCoroutine(Act()); }
void Start() { SM = GameObject.Find("StageManager").GetComponent<StageManager>(); effect = (GameObject)Instantiate(ResourceLoad.PickGameObject("eskill_1")); if (effect == null) { return; } player = GameObject.Find("PlayerManager"); if (player == null) { return; } player.SendMessage("BeInvincible", 1.5f); SM.SetforcedMatrix(1, 1.5f); StartCoroutine(Act()); }
void Start() { PM = GameObject.Find("PlayerManager").GetComponent<PlayerManager>(); SM = GameObject.Find("StageManager").GetComponent<StageManager>(); if ((effect = (GameObject)Instantiate(ResourceLoad.PickGameObject("eskill_2"))) == null) { return; } for(int i = 0; i<PM.member_count; i++) { if(PM.players_info[i].position == Position.FIRST) { player = PM.players[i]; break; } } effect.transform.position = player.transform.position; SM.SetforcedMatrix(1, 4.0f); PM.SendMessage("BeInvincible", 6f); StartCoroutine(Act()); }