private void CheckP1Cache() { if (_cacheP1Dirty) { for (int i = 0; i < _cacheP1Transform.Length; ++i) { _cacheP1Transform[i] = null; } _cacheP1.Clear(); _characterP1.GetComponentsInChildren(_cacheP1); for (int location = 0; location < (int)SpecialLocation.EndOfTheWorld; ++location) { _cacheP1Transform[location] = _mount.GetLocation( _mount.SearchingStart(_characterP1, (SpecialLocation)location), (SpecialLocation)location); } _cacheP1Dirty = false; } }