mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 11:45:09 +00:00
i'm dumb lol
This commit is contained in:
parent
abf86b4258
commit
b9c02eb039
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ namespace HeavenStudio.Games
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
instance = this;// Finding grass sprite width for grass scrolling.
|
instance = this;// Finding grass sprite width for grass scrolling.
|
||||||
farmer.Init()
|
farmer.Init();
|
||||||
var grassSprite = grass.sprite;
|
var grassSprite = grass.sprite;
|
||||||
var borderLeft = grassSprite.rect.xMin + grassSprite.border.x;
|
var borderLeft = grassSprite.rect.xMin + grassSprite.border.x;
|
||||||
var borderRight = grassSprite.rect.xMax - grassSprite.border.z;
|
var borderRight = grassSprite.rect.xMax - grassSprite.border.z;
|
||||||
|
|
Loading…
Reference in a new issue