Inheritance: MonoBehaviour
コード例 #1
0
    // Use this for initialization
    public virtual void Start()
    {
        lastValue = lastReturnedValue = valueBaseOffset;

        if (!manager)
        {
            manager = VJAbstractManager.GetDefaultManager();
            if (!manager)
            {
                Debug.LogError("[FATAL] VJ Manager not found.");
            }
        }

        if (!source)
        {
            source = manager.GetDefaultDataSource();
            if (!source)
            {
                Debug.LogError("[FATAL] Data source not found.");
            }
        }
        if (!boostSource)
        {
            boostSource = manager.GetDefaultDataSource();
            if (!source)
            {
                Debug.LogError("[FATAL] Data source not found.");
            }
        }
    }
コード例 #2
0
    // Use this for initialization
    public virtual void Start()
    {
        if(!manager) {
            manager = VJAbstractManager.GetDefaultManager();
            if(!manager) {
                Debug.LogError("[FATAL] VJ Manager not found.");
            }
        }

        if(!source) {
            source = manager.GetDefaultDataSource();
            if(!source) {
                Debug.LogError("[FATAL] Data source not found.");
            }
        }
    }
コード例 #3
0
    // Use this for initialization
    public virtual void Start()
    {
        if (!manager)
        {
            manager = VJAbstractManager.GetDefaultManager();
            if (!manager)
            {
                Debug.LogError("[FATAL] VJ Manager not found.");
            }
        }

        if (!source)
        {
            source = manager.GetDefaultDataSource();
            if (!source)
            {
                Debug.LogError("[FATAL] Data source not found.");
            }
        }
    }
コード例 #4
0
    // Use this for initialization
    public virtual void Start()
    {
        lastValue = lastReturnedValue = valueBaseOffset;

        if(!manager) {
            manager = VJAbstractManager.GetDefaultManager();
            if(!manager) {
                Debug.LogError("[FATAL] VJ Manager not found.");
            }
        }

        if(!source) {
            source = manager.GetDefaultDataSource();
            if(!source) {
                Debug.LogError("[FATAL] Data source not found.");
            }
        }
        if(!boostSource) {
            boostSource = manager.GetDefaultDataSource();
            if(!source) {
                Debug.LogError("[FATAL] Data source not found.");
            }
        }
    }