private void ShowCharacter()
    {
        Vector2 deviceScreenSize = SafeArea.GetDeviceScreenSize();

        this.characterCameraView             = new CharacterCameraView(CMD_CharacterDetailed.DataChg, (int)deviceScreenSize.x, (int)deviceScreenSize.y);
        this.renderTextureObject.mainTexture = this.characterCameraView.renderTex;
    }
Beispiel #2
0
 private void LoadDeviceInfo()
 {
     this.deviceScreenSize = SafeArea.GetDeviceScreenSize();
     this.safeAreaSize     = SafeArea.GetSafeArea();
     this.margin.left      = Mathf.CeilToInt(this.safeAreaSize.x);
     this.margin.right     = Mathf.CeilToInt(this.deviceScreenSize.x - (this.safeAreaSize.x + this.safeAreaSize.width));
     this.margin.bottom    = Mathf.CeilToInt(this.safeAreaSize.y);
     this.margin.top       = Mathf.CeilToInt(this.deviceScreenSize.y - (this.safeAreaSize.y + this.safeAreaSize.height));
 }
Beispiel #3
0
 public CharacterCameraView(MonsterData monsterData) : this(monsterData, (int)SafeArea.GetDeviceScreenSize().x, (int)SafeArea.GetDeviceScreenSize().y)
 {
 }