示例#1
0
        // Start is called before the first frame update
        void Start()
        {
            uiPoint = GetComponentInChildren <UIPointer>();

            // Load new Hands. Default to White hands (3rd child child)
            if (LoadHandSelectionFromPrefs)
            {
                ChangeHandsModel(PlayerPrefs.GetInt("HandSelection", DefaultHandsModel), false);
            }
        }
示例#2
0
        // Start is called before the first frame update
        void Start()
        {
            uiPoint = GetComponentInChildren <UIPointer>();

            // Load new Hands or default
            if (LoadHandSelectionFromPrefs)
            {
                ChangeHandsModel(PlayerPrefs.GetInt("HandSelection", DefaultHandsModel), false);
            }
            else
            {
                ChangeHandsModel(DefaultHandsModel, false);
            }
        }