Jump to content

Is it possible to change a variable value before the original method is executed?

Recommended Posts


My idea was to decrease the original range visibility of the map, the range before the cells are changed from hidden and starts showing something.
So that i would not know what is behind that dirt, or at least not see 30 blocks behind it
I think the below variables are related to that, and was trying to do some test to check it, but i'm not sure if it is possible to change it

using UnityEngine;

public class GridVisibility : KMonoBehaviour
  public float radius = 18f;
  public float innerRadius = 16.5f;


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

  • Create New...