예제 #1
0
    private bool isSet = false; // remote용 변수

    void initDir()
    {
        position  = CrossSceneInfo.pos + 1;
        direction = CrossSceneInfo.getMyDirection();

        Debug.Log("pos:" + position + ", dir: " + direction);
    }
예제 #2
0
    // Start is called before the first frame update
    void Start()
    {
        tr = GetComponent <Transform>();
        pv = GetComponent <PhotonView>();

        direction = CrossSceneInfo.getMyDirection();
    }