void Start()
 {
     if (!MyNetworkLobbyManager.s_singleton.IsTutorial)
     {
         if (!isLocalPlayer) return;
     }
     tubo_in_destory_ = FindObjectOfType<TuboInDestroy>();
 }
 void Start()
 {
     if (!MyNetworkLobbyManager.s_singleton.IsTutorial)
     {
         if (!isLocalPlayer)
         {
             return;
         }
     }
     tubo_in_destory_ = FindObjectOfType <TuboInDestroy>();
 }
示例#3
0
    //--------------------------------------------------------

    void Start()
    {
        pot_in_get_            = FindObjectOfType <TuboInDestroy>();
        smoke_sprite_renderer_ = GetComponent <SpriteRenderer>();

        transform.localPosition = new Vector3(0, 0, 0);
        transform.Rotate(15, 90, 0);

        smoke_speed_ = 0.5f;
        smoke_time_  = 0;
        alpha        = 0.7f;
    }
示例#4
0
 void Start()
 {
     if (!MyNetworkLobbyManager.s_singleton.IsTutorial)
     {
         if (!isLocalPlayer) return;
     }
     apple_manager_ = GameObject.Find("AppleManager");
     lemon_manager_ = GameObject.Find("LemonManager");
     peach_manager_ = GameObject.Find("PeachManager");
     egg_plant_manager_ = GameObject.Find("EggPlantManager");
     tubo_in_destroy_ = FindObjectOfType<TuboInDestroy>();
 }
示例#5
0
    //--------------------------------------------------------
    void Start()
    {
        pot_in_get_ = FindObjectOfType<TuboInDestroy>();
        smoke_sprite_renderer_ = GetComponent<SpriteRenderer>();

        transform.localPosition = new Vector3(0, 0, 0);
        transform.Rotate(15, 90, 0);

        smoke_speed_ = 0.5f;
        smoke_time_ = 0;
        alpha = 0.7f;
    }
    void Start()
    {
        bar_ = GameObject.Find("Bar").transform;
        SCALE_X = bar_.transform.localScale.x;
        SCALE_Y = bar_.transform.localScale.y;

        bar_.localScale = Vector3.forward;

        tubo_ = FindObjectOfType<TuboInDestroy>();
        var pot_icon = GameObject.Find("PotIconEffect");
        effect_ = pot_icon.GetComponent<SpriteRenderer>();
        effect_.color = ALPHA;
    }
示例#7
0
    void Start()
    {
        bar_    = GameObject.Find("Bar").transform;
        SCALE_X = bar_.transform.localScale.x;
        SCALE_Y = bar_.transform.localScale.y;

        bar_.localScale = Vector3.forward;

        tubo_ = FindObjectOfType <TuboInDestroy>();
        var pot_icon = GameObject.Find("PotIconEffect");

        effect_       = pot_icon.GetComponent <SpriteRenderer>();
        effect_.color = ALPHA;
    }
示例#8
0
 void Start()
 {
     if (!MyNetworkLobbyManager.s_singleton.IsTutorial)
     {
         if (!isLocalPlayer)
         {
             return;
         }
     }
     apple_manager_     = GameObject.Find("AppleManager");
     lemon_manager_     = GameObject.Find("LemonManager");
     peach_manager_     = GameObject.Find("PeachManager");
     egg_plant_manager_ = GameObject.Find("EggPlantManager");
     tubo_in_destroy_   = FindObjectOfType <TuboInDestroy>();
 }
    void Start()
    {
        if (!MyNetworkLobbyManager.s_singleton.IsTutorial)
        {
            if (!isLocalPlayer) return;
        }
        MagicType = -1;
        tubo_ = FindObjectOfType<TuboInDestroy>();

        MAGIC_COOL_TIME = new float[5];

        // FIXME: それぞれ発動中の長さが取得できないものは、仮の値を使用
        MAGIC_COOL_TIME[0] = FindObjectOfType<Ike3KinesisSetting>().FloatSecond;     // キネシス
        MAGIC_COOL_TIME[1] = FindObjectOfType<EggPlantAttacker>().GetMagicTime;      // おじゃま
        MAGIC_COOL_TIME[2] = FindObjectOfType<SmallFruit>().TotalSmallFruitSecond;   // ちいさく
        MAGIC_COOL_TIME[3] = FindObjectOfType<Ike3TyphoonSetting>().LimitTime_;      // ミキサー
        MAGIC_COOL_TIME[4] = 1.0f;    // ピーチェンジ(仮
    }
示例#10
0
    void Start()
    {
        if (!MyNetworkLobbyManager.s_singleton.IsTutorial)
        {
            if (!isLocalPlayer)
            {
                return;
            }
        }
        MagicType = -1;
        tubo_     = FindObjectOfType <TuboInDestroy>();

        MAGIC_COOL_TIME = new float[5];

        // FIXME: それぞれ発動中の長さが取得できないものは、仮の値を使用
        MAGIC_COOL_TIME[0] = FindObjectOfType <Ike3KinesisSetting>().FloatSecond;   // キネシス
        MAGIC_COOL_TIME[1] = FindObjectOfType <EggPlantAttacker>().GetMagicTime;    // おじゃま
        MAGIC_COOL_TIME[2] = FindObjectOfType <SmallFruit>().TotalSmallFruitSecond; // ちいさく
        MAGIC_COOL_TIME[3] = FindObjectOfType <Ike3TyphoonSetting>().LimitTime_;    // ミキサー
        MAGIC_COOL_TIME[4] = 1.0f;                                                  // ピーチェンジ(仮
    }