Пример #1
0
    //---------------------------------------------------------------------//


    //---------------------------------------------------------------------//
    //------------------------------- INIT --------------------------------//
    //---------------------------------------------------------------------//
    #region Init
    void Awake()
    {
        isActive          = false;
        bezierWalkerSpeed = GetComponent <BezierSolution.BezierWalkerWithSpeed>();
        bezierWalkerTime  = GetComponent <BezierSolution.BezierWalkerWithTime>();
    }
Пример #2
0
    //---------------------------------------------------------------------//


    //---------------------------------------------------------------------//
    //------------------------------- INIT --------------------------------//
    //---------------------------------------------------------------------//
    #region Init
    void Awake()
    {
        bezierWalkerSpeed  = GetComponent <BezierSolution.BezierWalkerWithSpeed>();
        bezierWalkerTime   = GetComponent <BezierSolution.BezierWalkerWithTime>();
        flockWeaponManager = GetComponent <SC_FlockWeaponManager>();
    }