private void initPlayer(UnityEngine.GameObject player) { if (player == null) { return; } KBEngine.Avatar avatar = (KBEngine.Avatar)KBEngineApp.app.player(); if (avatar == null) { Debug.Log("wait create(palyer)!"); return; } //初始化物品栏 avatar.reqItemList(); }