Beispiel #1
0
    // Use this for initialization
    protected override void Start()
    {
        base.Start();
        m_actionSource = GetComponent <ActionSource>();

        m_actionSource.SetEntity(this);

        m_actionSource = GetComponent <ActionSource>();
        TestWeapon weapon = (TestWeapon)m_currentWeapon;

        weapon.AlwaysFiring = true;
    }