Esempio n. 1
0
 //初期化関数
 void Start()
 {
     movePos      = Vector3.zero;
     preOffset    = Vector3.zero;
     basePosition = transform.position;
     theta        = initTheta;
     charaAda     = GetComponent <CharacterAdapter>();
 }
Esempio n. 2
0
 //初期化関数
 void Start()
 {
     preRun       = false;
     preSpeed     = 0;
     preDirection = Vector3.zero;
     charaAda     = GetComponent <CharacterAdapter>();
     status       = GameDirector.Instance().playerDirector.GetComponent <PlayerStatus>();
     slipTime     = 0;
     count        = 0;
 }
Esempio n. 3
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            RecyclerView rcv = FindViewById <RecyclerView>(Resource.Id.MyListView);

            rcv.SetLayoutManager(new LinearLayoutManager(this));
            CharacterAdapter myAdapter = new CharacterAdapter(ViewModel.myCharacters);

            rcv.SetAdapter(myAdapter);
        }
Esempio n. 4
0
 //初期化関数
 void Start()
 {
     charaAda = GetComponent <CharacterAdapter>();
 }