コード例 #1
0
ファイル: FrogTongue.cs プロジェクト: pokeimon/E-Sheep
    void Start()
    {
        bossController = GameObject.Find("Boss controller").GetComponent<BossController>();
        rangeScript = GetComponentInChildren<RangeAngle>();

        currentPoint = points[startPoint];
        pointSelection = startPoint;
        autostart = false;
    }
コード例 #2
0
ファイル: FrogTongue.cs プロジェクト: pokeimon/E-Sheep
    void Start()
    {
        bossController = GameObject.Find("Boss controller").GetComponent <BossController>();
        rangeScript    = GetComponentInChildren <RangeAngle>();

        currentPoint   = points[startPoint];
        pointSelection = startPoint;
        autostart      = false;
    }
コード例 #3
0
ファイル: BossController.cs プロジェクト: pokeimon/E-Sheep
    // Use this for initialization
    void Awake()
    {
        rangeAngle         = GameObject.Find("Range").GetComponent <RangeAngle>();
        frogTongue         = GameObject.Find("Tongue").GetComponent <FrogTongue>();
        wave               = 0;
        activeMonsterCount = 0;

        colorSelection.Add(Color.green);
        colorSelection.Add(Color.red);
        colorSelection.Add(Color.yellow);
        colorSelection.Add(Color.blue);
        colorSelection.Add(Color.cyan);
        colorSelection.Add(Color.magenta);
    }
コード例 #4
0
ファイル: BossController.cs プロジェクト: pokeimon/E-Sheep
    // Use this for initialization
    void Awake()
    {
        rangeAngle = GameObject.Find("Range").GetComponent<RangeAngle>();
        frogTongue = GameObject.Find("Tongue").GetComponent<FrogTongue>();
        wave = 0;
        activeMonsterCount = 0;

        colorSelection.Add (Color.green);
        colorSelection.Add (Color.red);
        colorSelection.Add (Color.yellow);
        colorSelection.Add (Color.blue);
        colorSelection.Add (Color.cyan);
        colorSelection.Add (Color.magenta);
    }