08 2013 档案
摘要:private UnityPlayer mUnityPlayer; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); mUnityPlayer = new UnityPlayer(this); if (mUnityPlayer.getSettings ().getBoolean ("hide_status_bar", true)) ge
阅读全文
摘要:using UnityEngine;using System.Collections;public class CameraFollow : MonoBehaviour { public Transform target; private Vector3 wantedPosition; private float currentX; private float currentY; private float currentZ; private float xVelocity = 0.0F; private float yVelocity = 0.0F; private f...
阅读全文