Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private Rect PositionButton
- {
- get
- {
- if (!KnowledgeBase.Instance) return new Rect(0, 0, 0, 0);
- //TODO: Fix
- //var position = KnowledgeBase.Instance.KnowledgeContainer.transform.position;
- //var position2 = UIManager.instance.rayCamera.WorldToScreenPoint(position);
- var rect = new Rect(400,
- Screen.height - Texture.Satellite.height,
- Texture.Satellite.width,
- Texture.Satellite.height);
- return rect;
- }
- }
- private Rect PositionFrame
- {
- get
- {
- var rect = new Rect(0, 0, 250, 500);
- rect.y = Screen.height - rect.height;
- rect.x = PositionButton.x + 5 + PositionButton.width;
- return rect;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement