//初期化関数 void Start() { movePos = Vector3.zero; preOffset = Vector3.zero; basePosition = transform.position; theta = initTheta; charaAda = GetComponent <CharacterAdapter>(); }
//初期化関数 void Start() { preRun = false; preSpeed = 0; preDirection = Vector3.zero; charaAda = GetComponent <CharacterAdapter>(); status = GameDirector.Instance().playerDirector.GetComponent <PlayerStatus>(); slipTime = 0; count = 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); }
//初期化関数 void Start() { charaAda = GetComponent <CharacterAdapter>(); }