Player


private Action InteractAct

public Action Interaction {get {return InteractAct;} set {InteractAct = value;}}



Object


private void Communicate()

{

"Hello Indie Game Dev !"

}


Update

{

if Condition1

Player.instance.Interaction = Communicate;

}


Action 을 프로퍼티로 넘기면 안되는건가...