コード例 #1
0
ファイル: ShotForce.cs プロジェクト: shin-T0529/GiantKiller
    private void Start()
    {
        ShotMax    = 10;
        ShotCount  = 0;
        ShotDelay  = 60;
        Reset      = 0;
        BossSaveHP = 0.0f;

        LeftSide   = RightSide = false;
        CenterSide = true;
        LCheck     = CCheck = RCheck = false;
        BossBody   = false;
        LeftLock.SetActive(true);
        RightLock.SetActive(true);
        LeftLockImage.enabled   = RightLockImage.enabled = false;
        CenterLockImage.enabled = true;

        fadeSystem = gameObject.GetComponent <FadeSystem>();

        reloadProc  = gameObject.GetComponent <ReloadProc>();
        hitEnemyHP  = gameObject.GetComponent <HitEnemyHP>();
        e_PartsProc = gameObject.GetComponent <E_PartsProc>();

        audioSource = gameObject.GetComponent <AudioSource>();
    }
コード例 #2
0
ファイル: ShotTexUI.cs プロジェクト: shin-T0529/GiantKiller
    void Start()
    {
        shotForce  = gameObject.GetComponent <ShotForce>();
        reloadProc = gameObject.GetComponent <ReloadProc>();

        Reammo     = 0.0f;
        Reportammo = 1;
        Keepammo   = 1.1f;
    }